<%@ page import="com.cuit.pojo.Order" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>预约成功</title>
    <style type="text/css">
        nav {
            height: 50px;
            background-color: #39bebe;
        }
        nav {
            display: block;
        }
        .nav_right {
            position: absolute;
            right: 50px;
            top: 5px;
        }
        nav .a1 {
            display: block;
            height: 50px;
            position: absolute;
            left: 20px;
            line-height: 50px;
        }
        nav .a2 {
            display: block;
            height: 50px;
            position: absolute;
            left: 90px;
            line-height: 50px;
        }
        .nav_photo {
            border-radius: 50%;
            height: 40px;
            width: 40px;
            position: relative;
            top:10px;
        }

        table{
            border-collapse:collapse;
            border: 1px solid black;

        }
        table td,th{
            border-collapse:collapse;

            margin: 80px auto 10px auto;
            border: 1px solid black;
        }
    </style>
</head>
<body>
<nav>
    <a href="../../patient/appointment.jsp" class="a1">挂号预约 /</a><a href="../../patient/personal_center2.jsp" class="a2">&nbsp;&nbsp;个人中心</a>
    <div class="nav_right">
        <img src="../../patient/images/2.jpg" class="nav_photo">
        <span id="p_id" style="color: #ffffff">${sessionScope.patient.p_id}</span>
    </div>
</nav>
<center>
    <h>预约成功</h>
    <table width="400px">
        <tr >
            <th>病人</th>
            <th>医生</th>
            <th>预约时间</th>
            <th>星期</th>
        </tr>
        <div id="Info">
            <%
                HttpSession se = request.getSession();
                Order order = (Order) se.getAttribute("nowOrder");
            %>
            <tr>
                <td><%=order.getPatient()%></td>
                <td><%=order.getDoctor()%></td>
                <td><%=order.getTime()%></td>
                <td>星期<%=order.getDay()%></td>
            </tr>
        </div>

    </table>

</center>

</body>
</html>
